/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const informationRouter = {
	path: '/information',
	component: Layout,
	redirect: '/information/complex-table',
	name: 'venue',
	meta: {
		title: '数据分析',
		icon: 'information'
	},
	children: [{
			path: 'recordTeam',
			component: () => import('@/views/information/recordTeam'),
			name: '预约记录',
			meta: {
				title: '预约记录'
			}
		}, {
			path: 'recordPersonal',
			component: () => import('@/views/information/recordPersonal'),
			name: '私教预约记录',
			meta: {
				title: '私教预约记录',
				activeMenu: '/information/recordTeam'
			},
			hidden: true
		}, {
			path: 'recordTrialClass',
			component: () => import('@/views/information/recordTrialClass'),
			name: '体验课申请记录',
			meta: {
				title: '体验课申请记录',
				activeMenu: '/information/recordTeam'
			},
			hidden: true
		}, {
			path: 'recordPayment',
			component: () => import('@/views/information/recordPayment'),
			name: '刷卡扣费记录',
			meta: {
				title: '刷卡扣费记录'
			}
		}, {
			path: 'recordAlter',
			component: () => import('@/views/information/recordAlter'),
			name: '变更记录',
			meta: {
				title: '变更记录'
			}
		}, {
			path: 'dataOverview',
			component: () => import('@/views/information/dataOverview'),
			name: '数据概况',
			meta: {
				title: '数据概况'
			}
		},
		{
			path: 'memberAnalysis',
			component: () => import('@/views/information/memberAnalysis'),
			name: '会员分析',
			meta: {
				title: '会员分析'
			}
		},
		{
			path: 'guestToMemberAnalysis',
			component: () => import('@/views/information/guestToMemberAnalysis'),
			name: '访客转化分析',
			hidden: true,
			meta: {
				title: '访客转化分析',
				activeMenu: '/information/memberAnalysis'
			}
		},
		{
			path: 'memberCostRanking',
			component: () => import('@/views/information/memberCostRanking'),
			name: '贡献度排行',
			hidden: true,
			meta: {
				title: '贡献度排行',
				activeMenu: '/information/memberAnalysis'
			}
		},
		{
			path: 'memberCardConsumptionRanking',
			component: () => import('@/views/information/memberCardConsumptionRanking'),
			name: '耗卡排行',
			hidden: true,
			meta: {
				title: '耗卡排行',
				activeMenu: '/information/memberAnalysis'
			}
		},
		{
			path: 'memberCardAnalysis',
			component: () => import('@/views/information/memberCardAnalysis'),
			name: '会员卡分析',
			meta: {
				title: '会员卡分析'
			}
		},
		{
			path: 'coachAnalysis',
			component: () => import('@/views/information/coachAnalysis'),
			name: '教练分析',
			meta: {
				title: '教练分析'
			}
		},
		{
			path: 'courseAnalysis',
			component: () => import('@/views/information/courseAnalysis'),
			name: '课程分析',
			meta: {
				title: '课程分析'
			}
		},
		// {
		// 	path: 'statisticsEnroll',
		// 	component: () => import('@/views/information/statisticsEnroll'),
		// 	name: '活动报名统计',
		// 	meta: {
		// 		title: '活动报名统计'
		// 	}
		// }
	]
}
export default informationRouter
